﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ALE_Server.ECException
{
    public class ALEException : System.Exception
    {
        private string m_Reason = string.Empty;

        public ALEException()
            : base()
        {
        }

        public ALEException(string msg)
            : base(msg)
        {
            m_Reason = msg;
        }

        public ALEException(string msg, Exception innerException) : base(msg,innerException)
        {
            m_Reason = msg;
        }

        public string Reason
        {
            get
            {
                return m_Reason;
            }
            set
            {
                m_Reason = value;
            }
        }

    }
}
